package cn.itcast.usermanage.pojo;

import java.util.List;

public class DatagridResult<T> {

	//包含total和rows属性。total是总条数信息，rows是数据信息
	private Long total;
	
	private List<T> rows;

	public DatagridResult(Long total, List<T> rows) {
		super();
		this.total = total;
		this.rows = rows;
	}
	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	}

	
	
}
